package com.quartet.api;


import lombok.Data;

/**
 */
@Data
public class MapServerException extends RuntimeException{

    private static final long serialVersionUID = 4318516993648888525L;
    private String errorCode;

    private ResultErrorEnum resultErrorEnum;

    public MapServerException(ResultErrorEnum resultErrorEnum) {
        this.errorCode = resultErrorEnum.getCode();
        this.resultErrorEnum = resultErrorEnum;
    }

}
